package cn.itrip.dao.service;

import cn.itrip.beans.vo.hotelroom.ItripHotelRoomVO;
import cn.itrip.beans.vo.hotelroom.SearchHotelRoomVO;
import cn.itrip.dao.mapper.ItripHotelRoomMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Tequila
 **/
@Service
public class ItripHotelRoomServiceImpl implements ItripHotelRoomService {

    @Autowired
    private ItripHotelRoomMapper itripHotelRoomMapper;

    @Override
    public List<ItripHotelRoomVO> queryHotelRoomByHotel(SearchHotelRoomVO searchHotelRoomVO) {

        return itripHotelRoomMapper.queryHotelRoomByHotel(searchHotelRoomVO);
    }
}
